summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FTPClient.cpp2
-rw-r--r--FTPClient.h2
-rw-r--r--library.json2
-rw-r--r--library.properties2
4 files changed, 4 insertions, 4 deletions
diff --git a/FTPClient.cpp b/FTPClient.cpp
index 4ea31be..dd3457c 100644
--- a/FTPClient.cpp
+++ b/FTPClient.cpp
@@ -220,7 +220,7 @@ int8_t FTPClient::controlConnect()
return -1;
}
-bool FTPClient::waitFor(const int16_t respCode, const __FlashStringHelper *errorString, uint32_t timeOutMs)
+bool FTPClient::waitFor(const int16_t respCode, const String &errorString, uint32_t timeOutMs)
{
// initalize waiting
if (!aTimeout.canExpire())
diff --git a/FTPClient.h b/FTPClient.h
index 05a1bf3..228d975 100644
--- a/FTPClient.h
+++ b/FTPClient.h
@@ -110,7 +110,7 @@ protected:
int8_t controlConnect(); // connects to ServerInfo, returns -1: no connection possible, +1: connection established
- bool waitFor(const int16_t respCode, const __FlashStringHelper *errorString = nullptr, uint32_t timeOut = 10000);
+ bool waitFor(const int16_t respCode, const String &errorString = (const char*)NULL, uint32_t timeOut = 10000);
};
#endif // FTP_CLIENT_H
diff --git a/library.json b/library.json
index eb03884..0ce2238 100644
--- a/library.json
+++ b/library.json
@@ -10,7 +10,7 @@
"repository":
{
"type": "git",
- "url": "https://github.com/dplasa/espFTPServer"
+ "url": "https://github.com/dplasa/FTPClientServer"
},
"frameworks": "Arduino",
"platforms": "*"
diff --git a/library.properties b/library.properties
index 0bf7adb..d1daeab 100644
--- a/library.properties
+++ b/library.properties
@@ -1,5 +1,5 @@
name=FtpClientServer
-version=0.9.7
+version=0.9.8
author=Daniel Plasa
maintainer=dplasa@gmail.com
sentence=Simple FTP server for SPIFFS and LittleFS on esp8266/esp32